package org.lanqiao.aop;

import java.lang.reflect.Method;

public class LogSchema {

    //后置通知方法

    public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable {
        System.out.println(">>>>>>>>>>>>>>>>后置通知...目标对象："+target+",调用方法名称："+method.getName()+",方法的参数个数："+args.length+",方法的返回值："+returnValue);
    }

    public void before(){
        System.out.println(">>>>>>>>>>前置通知...");
    }


}
